@(activePageName:String = "Home")
<div class="row">
	@if(activePageName!="Home"){
		<div class="span3 logo" style="cursor:pointer">
			<a href="/" border=0><img src="/assets/images/edunera.png"/></a>
		</div>
	}
	@if(!session.containsKey("email")){
		
			<div class="pull-right">
				<ul class="nav nav-pills">
				  @if( activePageName == "Home"){
				  <li class="active">
				  }else{
				  <li>
				  }
					<a href="@{routes.Application.index()}">Home</a>
				  </li>
				  @if( activePageName == "Login"){
				  <li class="active">
				  }else{
				  <li>
				  }
					<a href="@{routes.User.login()}">Login</a>
				  </li>
				  @if( activePageName == "Register"){
				  <li class="active">
				  }else{
				  <li>
				  }
				  <a href="@{routes.User.register()}">Register</a>
				  </li>
							
				@if( activePageName == "AdminPanel"){
				  <li class="active">
				  }else{
				  <li>
				  }
				  
				
				</ul>
			</div>
		
	}else{
		@accountheader()
	}
</div>

<script type="text/javascript">
	$('.logo').click(function(){
		document.location = document.location.origin;
	});
</script>